package br.edu.infnet.avaliacao.util;

import br.com.caelum.vraptor.ComponentRegistry;
import br.com.caelum.vraptor.ioc.spring.SpringProvider;
import br.com.caelum.vraptor.util.jpa.JPATransactionInterceptor;
import br.com.caelum.vraptor.util.jpa.EntityManagerCreator;

public class CustomProvider extends SpringProvider {  
	  
    @Override  
    protected void registerCustomComponents(ComponentRegistry registry) {
        registry.register(JPATransactionInterceptor.class , JPATransactionInterceptor.class);  
        registry.register(EntityManagerCreator.class, EntityManagerCreator.class);
    }
    
}